import subprocess


method_choices = ['bilstm', 'lstm']
for method in method_choices:
    # 定义命令及其参数
    command = "python main.py --method=" + method + \
        " --train_batch_size=16 --eval_batch_size=16 --device=cuda"

    # 执行命令
    subprocess.run(command, shell=True, check=True)
